package com.gaojinqi.service;

import com.gaojinqi.dto.OrderDTO;
import com.lly835.bestpay.model.PayResponse;
import com.lly835.bestpay.model.RefundResponse;

/**
 * 支付
 *
 * @author gaojinqi
 * @date 2019/5/7 2:19
 */
public interface PayService {

    /**
     * 创建【微信支付】预付单
     * @param orderDTO
     * @return
     */
    PayResponse create(OrderDTO orderDTO);

    /**
     * 支付回调，修改订单状态
     * @param notifyData
     */
    PayResponse notify(String notifyData);

    RefundResponse refund(OrderDTO orderDTO);
}
